package com.jiamao.goplay;



import android.app.Application;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;

import me.goldze.mvvmhabit.base.BaseViewModel;

public class AViewModel extends BaseViewModel {


    //用户名的绑定
    public ObservableField<String> userName = new ObservableField<>("");


    public AViewModel(@NonNull Application application) {
        super(application);
    }

    public void a(){
        userName.set("111");

        showDialog();
    }

}
